package com.msconfig;

/*
 * author: caojunhao
 * date  : 2020/5/21
 * desc  :
 */

import android.app.Application;
import android.content.Context;

import com.tencent.bugly.crashreport.CrashReport;


public class MyApplication extends Application {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext=getApplicationContext();
//        Logger.addLogAdapter(new AndroidLogAdapter());

        //初始化腾讯bugly
        CrashReport.initCrashReport(getApplicationContext(), "b02768d504", false);
    }

    public static Context getGlobalContext(){
        return mContext;
    }


}
